<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        @keyframes move {
            0% {
                transform: translate(0,0);
            }
              100% {
               transform: translate(1000px,0);
            }
        }
        div {
            width: 200px;
            height: 200px;
            background-color: pink;
            animation: move 2s linear 0s 3 alternate forwards;
        }
    </style>
</head>
<body>
    <div></div>
</body>
</html>